﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Artilheiros.aspx.cs" Inherits="PESWeb.Pages.Estatisticas.Artilheiros" %>

<%@ Import Namespace="Campeonato.Model" %>
<asp:Content ID="Content1" ContentPlaceHolderID="htmlHeaderContentPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
Artilheiros do Campeonato
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <div class="pagecontent">
        <asp:GridView ID="gvArtilharia" runat="server" CssClass="rankingGrid" AllowSorting="false"
            AutoGenerateColumns="false" OnRowDataBound="gvArtilharia_RowDataBound" AllowPaging="true"
            Width="400px" onpageindexchanging="gvArtilharia_PageIndexChanging" PageSize="15">
            <Columns>
                <asp:TemplateField HeaderText="">
                    <ItemTemplate>
                        <asp:Label ID="PosLabel" runat="server" />
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Jogador">
                    <ItemTemplate>
                        <asp:Label ID="NomeJogadorVirtLabel" runat="server" Text='<%# Eval("Nome") %>' />
                        (<asp:Label ID="TimeLabel" Font-Size="XX-Small" ForeColor="LightGreen" runat="server"
                            Text='<%# Eval("Jogador.Nome") %>' />
                            <asp:Label ID="Label2" runat="server"  ForeColor="LightGreen" Font-Size="XX-Small" Text="-" />
                        <asp:Label ID="Label1" Font-Size="XX-Small" ForeColor="LightGreen" runat="server"
                            Text='<%# Eval("Jogador.TimeEscolhido") %>' />)
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Gols">
                    <ItemTemplate>
                        <asp:Label ID="PontosLabel" runat="server" Text='<%# Eval("TotalGolsMarcados") %>' />
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" />
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
</asp:Content>
